package com.example.springstudy.service;

import com.example.springstudy.entity.Supplier;
import com.example.springstudy.entity.Supplier;

import java.util.List;

public interface SupplierService {
    List<Supplier> findAll();

    int add(Supplier superior);

    int delete(int id);

    int update(Supplier superior);

    Supplier getOneByName(String name);
}
